import loadable from "react-loadable";
import { Loading } from 'antd-mobile/2x'
const load = (loader, loading = () => <Loading />) => {
    return loadable({
        loader,
        loading
    })
}
export default load;
